export default {
  // 在mock user.js中配置的本地接口
  loginUser: 'post /loginUser',
  loginAdmin: 'post /loginAdmin',
  //用户管理
  queryAllUser: 'GET /admin/queryAllUser',
  addUser: 'post /registerUser',
  delUser: 'post /admin/delUser',
  updateUserStatus: 'post /admin/updateUserStatus',
  resetPwd: 'post /admin/resetPwd',
  updatePwd: 'post /currency/updatePwd',
  queryUser: 'GET /queryUser',
  // 文章管理
  queryCategory: 'GET /queryCategory',
  queryTag: 'GET /queryTag',
  queryAllArticle: 'GET /queryAllArticle',
  queryArticleByArticleId: 'GET /queryArticleByArticleId',
  addArticle: 'post /user/addArticle',
  updateUploadFile: 'post /user/updateUploadFile',
  collectArticle: 'post /user/collectArticle',
  queryArticle: 'GET /currency/queryArticle',
  queryArticles: 'GET /queryArticles',
  queryUserArticle: 'GET /queryUserArticle',
  reviewAllArticle:'post /admin/reviewAllArticle',
  addMdArticle:'post /user/addMdArticle',

  // 标签管理
  queryAllTag: 'GET /admin/queryAllTag',
  addTag: 'post /admin/addTag',
  updateTag: 'post /admin/updateTag',
  delTag: 'post /admin/delTag',

  // 分类管理
  queryCategory: 'GET /queryCategory',
  addCategory: 'post /admin/addCategory',
  updateCategory: 'post /admin/updateCategory',
  delCategory: 'post /admin/delCategory',

  // 评论管理
  queryAllComment: 'GET /currency/queryAllComment',
  queryComment: 'GET /queryComment',
  likeArticle: 'post /user/likeArticle',
  disLikeArticle: 'post /user/disLikeArticle',
  likeComment: 'post /user/likeArticleComment',
  disLikeComment: 'post /user/disLikeArticleComment',
  addComment: 'post /user/addComment',
  delComment: 'post /currency/delComment',
  reviewComment: 'post /admin/reviewComment',
  reviewAllComment: 'post /admin/reviewAllComment',

  // 管理文章
  delArticle: 'post /currency/delArticle',
  reviewArticle: 'post /admin/reviewArticle',
  updateArticle: 'post /user/updateArticle',
  viewArticle: 'post /viewArticle',

  //收藏管理
  queryCollection: 'GET /user/queryCollection',
  addCollection: 'post /user/addCollection',
  updateCollection: 'post /user/updateCollection',
  delCollection: 'post /user/delCollection',
  queryCollectedArticle: 'GET /user/queryCollectedArticle',

  //关注
  queryFollowUser: 'GET /user/queryFollowUser',
  followUser: 'GET /user/followUser',

  // 关注用户管理
  followUser: 'post /user/followUser',

  //编辑个人资料
  updateUserProfile: 'post /user/updateUserProfile',
}
